package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnTnl;
import com.tjmc.tiomscore.model.TranPtnTnlExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnTnlMapper {
    long countByExample(TranPtnTnlExample example);

    int deleteByExample(TranPtnTnlExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnTnl record);

    int insertSelective(TranPtnTnl record);

    List<TranPtnTnl> selectByExample(TranPtnTnlExample example);

    TranPtnTnl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnTnl record, @Param("example") TranPtnTnlExample example);

    int updateByExample(@Param("record") TranPtnTnl record, @Param("example") TranPtnTnlExample example);

    int updateByPrimaryKeySelective(TranPtnTnl record);

    int updateByPrimaryKey(TranPtnTnl record);
}